<?
$conn=mysql_connect("127.0.0.1", "root", "");
if (!$conn) 
{
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';

$exec="drop database sopta";
mysql_query($exec);
?>